﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using QLDT.Report;
using DTO;
using BUS;

namespace QLDT
{
    public partial class frm_report_GV : DevExpress.XtraEditors.XtraForm
    {
        public frm_report_GV()
        {
            InitializeComponent();
        }

        private void frm_report_GV_Load(object sender, EventArgs e)
        {
            List<DTO_GiangVien> sv = BUS_GiangVien.SelectGiangVien();
            DanhSachGV cr = new DanhSachGV();
            cr.SetDataSource(sv);
            crystalReport_GV.ReportSource = cr;
        }
    }
}